x86/mm: make {set,clear}_identity_p2m_mapping() work for PV guests
authorJan Beulich <jbeulich@suse.com>
Tue, 1 Sep 2015 14:51:44 +0000 (16:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 1 Sep 2015 14:51:44 +0000 (16:51 +0200)
commit619ecf8400cbc1540d9f07c317a8e2d6782c5752
treefce16abda73c05c1f1601669cf8bd85a623b13b1
parent88e3ed61642bb393458acc7a9bd2f96edc337190
x86/mm: make {set,clear}_identity_p2m_mapping() work for PV guests

Namely Dom0 suffers from commit 5ae03990c1 ("xen/vtd: create RMRR
mapping") having removed the creation of such mappings for non-
translated guests.

Reported-by: Malcolm Crossley <malcolm.crossley@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/mm/p2m.c